package com.tencent.sr.iris.basic.saas.common.exception;

import com.tencent.sr.rmall.common.exception.code.ErrorCode;
import lombok.AllArgsConstructor;

@AllArgsConstructor
public enum UserEssErrorCode implements ErrorCode {
    QUERY_ESS_RECORDS_ERROR("QUERY_ESS_RECORDS_ERROR", "查询用户签约记录异常"),
    QUERY_ESS_FILE_URL_ERROR("QUERY_ESS_FILE_URL_ERROR", "查询电子签合同异常"),
    SAVE_LOG_RECORD("SAVE_LOG_RECORD", "保存操作日志异常"),
    QUERY_LOG_RECORD_ERR("QUERY_LOG_RECORD_ERR", "查询操作日志异常"),
    NO_USER_INFO("NO_USER_INFO", "缺用户信息");

    private String code;

    private String description;

    @Override
    public String getCode() {
        return this.code;
    }

    @Override
    public String getDescription() {
        return this.description;
    }
}
